const int MAXQSIZE = 100;

template <typename T>
class HM_Queue
{
public:
    HM_Queue(/* args */){qfront=0; qback=0;count=0;}
    ~HM_Queue(){}

    void push(const T& item);
    void pop();
    T& front();
    const T& front() const;
    int size() const {return count;}
    bool empty() const{return count>0;}
    bool full() const {return count==MAXQSIZE;}
private:
    T queueArrary[MAXQSIZE];
    int qfront, qback;
    int count;
};

